package com.lvmama.pangolin.mybatis.mapper.lmm;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lvmama.pangolin.entity.LMMCareProductVO;
import com.lvmama.pangolin.entity.lmm.LMMCareProduct;

public interface LMMCareProductMapper {
    int deleteByPrimaryKey(String productId);

    int insert(LMMCareProduct record);

    int insertSelective(LMMCareProduct record);

    LMMCareProduct selectByPrimaryKey(String productId);
    
    List<LMMCareProduct> selectByCond(LMMCareProduct record);
    
    int updateByPrimaryKeySelective(LMMCareProduct record);

    int updateByPrimaryKey(LMMCareProduct record);
    
    int updateDealFlag(LMMCareProduct record);
    
    List<LMMCareProduct> getAllList(LMMCareProductVO record);
    List<LMMCareProduct> getAllCare(LMMCareProductVO record);
    List<LMMCareProduct> getAll(@Param("productId")String productId,@Param("productName")String productName,@Param("cityName")String cityName,@Param("businessCode")String businessCode);
    List<LMMCareProduct> queryProductbyTime(Map<String ,Object> param);
    List<LMMCareProduct> queryProductbyProd(Map<String ,Object> param);
    int deleteByProdUnRange(Map<String ,Object> param);
    int deleteByProdRange(Map<String ,Object> param);
}